home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Gold Collection / Software Vault - The Gold Collection (American Databankers) (1993).ISO / cdr22 / startd22.zip / README < prev    next >
Text File  |  1993-06-05  |  4KB  |  102 lines

  1. STARTD V1.0 README
  2.  
  3. The big difference between this program and the OS/2 'start' command
  4. is that you can specify a settings file. STARTD will read the settings
  5. file specified on the command line after the /SF switch and then start 
  6. a dos session with those settings, otherwise it performs mostly like 'start'.
  7.  
  8. The settings file is just a list of the settings you want to change. One
  9. setting per line (no blank lines) ie.
  10.  
  11. EMS_MEMORY_LIMIT=0
  12. IDLE_SENSITIVITY=50
  13. DOS_BACKGROUND_EXECUTION=OFF
  14. .
  15. .
  16. .
  17.  
  18. The setting names are the same as the ones in DOS SETTINGS options.
  19.  
  20. Also STARTD will not ignore the /BG option and will actually start a dos
  21. session in the background (good for those startup.cmd dos sessions).
  22.  
  23. Type STARTD /? for a list of the options it supports. 
  24.  
  25. The sample cmd file demo.cmd pops up two VDM's with different settings
  26. and shows you the memory free in each one...
  27.  
  28. This is a quick hack so if it breaks tell me and I'll fix it (or fix it
  29. yourself and tell me what I did wrong). I wrote this program without any
  30. OS/2 technical reference (I'm still waiting for my redbooks) so I could 
  31. concievably done horrid things. One thing I still can't understand is how
  32. DosStartSession knows how big the environment buffer is. But it seems to 
  33. work anyway...
  34.  
  35. Shareware:
  36.     Basically share and enjoy!
  37.     If you like/dislike the program send me email my
  38.     address is npross@undergrad.uwaterloo.ca
  39.  
  40.     Although if you use my program on a regular basis and have an
  41.     OS/2 shareware app requiring payment for regular use then I would
  42.     like you to send me a note waiving the fee for that program.
  43.  
  44.     And if you want to send me money please append your VISA/MC number
  45.     to your email message. ;-) (that's a joke for those who don't
  46.     understand smilies and have a habit of sending hate mail to people
  47.     who were obviously intending to be sarcastic)
  48.  
  49. This program is provided AS IS. There are no warranties expressed or implied
  50. (except where prohibited by law -- what happens in that case I have no idea)
  51. The author assumes no liability for damages caused by this program. I run it
  52. everyday and haven't experienced any related difficulties...Mileage may vary.
  53.  
  54. BUGS/LIMITATIONS:
  55.  
  56. STARTD does not check for invalid combinations of command line switches. 
  57. So if you specify STARTD /FS /WIN /PM /DOS you'll get a windowed DOS session
  58. but who cares. At least it doesn't print "SYS179827346: You are a big jerk and
  59. should know what parameters to specify"
  60.  
  61. STARTD's VDM sessions always run the autoexec.bat The OS/2 START doesn't if you
  62. specify a command to execute. I think this is a feature :-)
  63.  
  64. I'm sure there are many more, but hey:
  65.  
  66. Lubarsky's Law of Cybernetic Entomology:
  67.     There's always one more bug.
  68.  
  69. -----------------------------------------------------------------------------
  70.  
  71. Addendum by Jim Sauber
  72.  
  73. Version 2.2
  74.  
  75. STARTD has been modified to start a ODS session synchronous with the OS/2 
  76. session. This very helpful in a LAN Server environment. Since LAN Server
  77. does not allow a DOS app to be shared directly (a severe limitation), an OS/2
  78. program must start the DOS app. Unfortunately, the DOS session is created
  79. with generic settings. This will not work for programs like LOTUS 3.1, that 
  80. requires some DOS_VERSION settings to run in OS/2 2.0. 
  81.  
  82. A DEBUG switch was added to allow you to see the settings that will be
  83. passed to DosStartSession. This is helpful in knowling whether the settings
  84. are being passed correctly. One word of caution. Be sure there is a CRLF after
  85. the last setting file item when using the DEBUG switch. Otherwise, the
  86. environment information will print alot of garbage.
  87.  
  88. Please try this. It is not perfect. I would appreciate hearing any feedback
  89. you have and am willing to change this to make it better! You can reach me at
  90. Compuserve - 70312,3035 or the Pete Norloff's OS/2 Shareware BBS.
  91.  
  92. P.S. The way this WAITs for child sessions is a kludge. I will clean this
  93.      up in the next version.
  94.  
  95. Changes:
  96.  
  97. 6/5/93 - Increased environment size to 4K and resolved problem of running
  98.          out of stack space with OS/2 2.1.
  99.  
  100. Jim Sauber
  101.  
  102.